#define  _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#define Pi 3.14
int main() {
    float h, r;
    scanf("%f%f", &h, &r);
    float v = Pi * h * r * r;
    float c = 10000.0;
    int num = (c / v);
    if (c / v == num)
        printf("%d", num);
    else
        printf("%d", num + 1);
    return 0;
}